package com.zuozhj.controller.PaymentService;

import org.springframework.stereotype.Component;

import com.zuozhj.enums.paymentEnums;

@Component
@SupporType(paymentEnums.WECHATPAY) // 支持微信支付
public class weixin implements PaymentService {

    @Override
    public String pay() {
        System.out.println("微信支付成功");
        return paymentEnums.WECHATPAY.getDescription() + "支付成功";
    }
    
}
